class TextUtil {
  TextUtil._();

  ///空判断
  static bool isEmpty(dynamic value) {
    if (value is String?) {
      return value == null || value.length == 0;
    } else {
      return value == null;
    }
  }
}
